import {createRouter, createWebHistory} from 'vue-router'
import fofo from '../pages/homopage.vue'
import baba from '../pages/monopage.vue'
import deamon from '../pages/pagenao.vue'


const routes = [
    {
        path:'/fofo',
        name:'index',
        component: fofo
    },
    {
        path:'/baba',
        name:'wow',
        component: baba
    },
    {
        path:'/',
        name:'bad',
        component: deamon
    }
]

const router = createRouter(
    {
        history: createWebHistory(),
        routes: routes
    }
)

export default router;